#ifndef __CSTRING_RES_H__
#define __CSTRING_RES_H__

#include "cocos2d.h"

using namespace cocos2d;

class CHashTable;

class CStringRes
{
public :
	CStringRes(void);
	~CStringRes(void);

	bool LoadResource(const char *plist);
	char* Get(const char *pKey);

private :
	const char * valueForKey(const char *key, CCDictionary *dict);
protected :
	CHashTable	*m_pHash;
};

#endif // __CSTRING_RES_H__